var __assign = (this && this.__assign) || Object.assign || function(t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
        s = arguments[i];
        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
            t[p] = s[p];
    }
    return t;
};
var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
            t[p[i]] = s[p[i]];
    return t;
};
for (var i = 0; i < 10; i++) {
}
for (var i = 0; i < 10; i++) {
    (function (i) {
    })(i);
}
function f(input) {
    var a = 100;
    if (input) {
        var b_1 = a + 1;
        return b_1;
    }
    return a;
}
try {
    throw "oh no!";
}
catch (e) {
    console.log("Oh well.");
}
var a;
function foo() {
    console.log("123456");
    return c + 5;
}
foo();
var c = 10;
function f2(xs) {
    return xs = 100;
}
function fs(condition, x) {
    if (condition) {
        var x_1 = 100;
        return x_1;
    }
    return x;
}
function sumMatrix(matrix) {
    var sum = 0;
    for (var i_1 = 0; i_1 < matrix.length; i_1++) {
        var currentRow = matrix[i_1];
        for (var i_2 = 0; i_2 < currentRow.length; i_2++) {
            sum += currentRow[i_2];
        }
    }
    return sum;
}
for (var i_3 = 0; i_3 < 10; i_3++) {
}
var numLivesForCat = 9;
var input = [1, 2];
var first = input[0], second = input[1];
_a = [second, first], first = _a[0], second = _a[1];
function firsts(_a) {
    var first = _a[0], second = _a[1];
    console.log(first);
    console.log(second);
}
firsts([first, second]);
var _b = [1, 2, 3, 4], stare = _b[0], rest = _b.slice(1);
var first2 = [1, 2, 3, 4][0];
var _c = [1, 2, 3, 4], seconds = _c[1], fourth = _c[3];
var o = { an: "sss", b: 36, c: '2125' };
var an = o.an, b = o.b;
var passthrough = __rest(o, []);
var total = passthrough.b + passthrough.c.length;
function keepWholeObject(wholeObject) {
    var a = wholeObject.a, _a = wholeObject.b, b = _a === void 0 ? 1001 : _a;
}
var first1 = [1, 2];
var second1 = [3, 4];
var bothPlus = [0].concat(first1, second1, [5]);
var defaults = { food: "spicy", price: "$$", ambiance: "noisy" };
var search = __assign({}, defaults, { food: "rich" });
var _a;
